const express = require("express");
const {scoreList} = require("../data/index.json");
const app = express();
app.get("/one",(req,res)=>{
	const {cb="fn"} = req.query;
	res.send(cb+"("+JSON.stringify(scoreList)+");")
})
app.get("/info",(req,res)=>{
	res.json(scoreList);
})
app.listen(80,()=>{
	console.log("success")
})